[INFO] cloning repository https://github.com/hex0gen1/vpn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hex0gen1/vpn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhex0gen1%2Fvpn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhex0gen1%2Fvpn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e2fe3283c839a10d73d1773ccc1671736ce6de63
[INFO] fixing hex0gen1/vpn against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhex0gen1%2Fvpn" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hex0gen1/vpn
[INFO] finished tweaking git repo https://github.com/hex0gen1/vpn
[INFO] tweaked toml for git repo https://github.com/hex0gen1/vpn written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hex0gen1/vpn on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hex0gen1/vpn already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio v1.51.0
[INFO] [stderr]   Downloaded trust-dns-resolver v0.20.4
[INFO] [stderr]   Downloaded gip v0.7.1
[INFO] [stderr]   Downloaded enum-as-inner v0.3.4
[INFO] [stderr]   Downloaded trust-dns-proto v0.20.4
[INFO] [stderr]   Downloaded openssl v0.10.78
[INFO] [stderr]   Downloaded openssl-sys v0.9.114
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4511473a05d63515f7a31d5fab79d1947259d08f2e22641b8e0f776027b6ba96
[INFO] running `Command { std: "docker" "start" "4511473a05d63515f7a31d5fab79d1947259d08f2e22641b8e0f776027b6ba96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4511473a05d63515f7a31d5fab79d1947259d08f2e22641b8e0f776027b6ba96" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4511473a05d63515f7a31d5fab79d1947259d08f2e22641b8e0f776027b6ba96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4511473a05d63515f7a31d5fab79d1947259d08f2e22641b8e0f776027b6ba96" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]     Checking hashbrown v0.17.0
[INFO] [stderr]    Compiling aws-lc-rs v1.16.3
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling openssl v0.10.78
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]     Checking cmov v0.5.3
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking ctutils v0.4.2
[INFO] [stderr]     Checking unicode-bidi v0.3.18
[INFO] [stderr]     Checking const-oid v0.10.2
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]     Checking crc-catalog v2.5.0
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]     Checking crc v3.4.0
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling tokio v1.51.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking parking_lot_core v0.8.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking flume v0.11.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]    Compiling nix v0.31.2
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]     Checking vpn-types v0.1.0 (/opt/rustwide/workdir/crates/vpn-types)
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]     Checking winnow v1.0.2
[INFO] [stderr]     Checking resolv-conf v0.7.6
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]     Checking dirs v4.0.0
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking hmac v0.13.0
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking serde_spanned v1.1.1
[INFO] [stderr]     Checking toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling aws-lc-sys v0.40.0
[INFO] [stderr]    Compiling openssl-sys v0.9.114
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking toml_writer v1.1.1+spec-1.1.0
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking hkdf v0.13.0
[INFO] [stderr]     Checking rand v0.10.1
[INFO] [stderr]     Checking directories v6.0.0
[INFO] [stderr]     Checking toml v1.1.2+spec-1.1.0
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]     Checking sha2 v0.11.0
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]    Compiling color-spantrace v0.3.0
[INFO] [stderr]     Checking gimli v0.32.3
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking x25519-dalek v2.0.1
[INFO] [stderr]     Checking tracing-error v0.2.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking rustc-demangle v0.1.27
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]     Checking compact_str v0.8.1
[INFO] [stderr]    Compiling enum-as-inner v0.3.4
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking trust-dns-proto v0.20.4
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking vpn-core v0.1.0 (/opt/rustwide/workdir/crates/vpn-core)
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> crates/vpn-core/src/error.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CoreError` is never used
[INFO] [stdout]  --> crates/vpn-core/src/error.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum CoreError {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking addr2line v0.25.1
[INFO] [stderr]     Checking unicode-truncate v1.1.0
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> crates/vpn-core/src/error.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CoreError` is never used
[INFO] [stdout]  --> crates/vpn-core/src/error.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum CoreError {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking ratatui v0.29.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]     Checking trust-dns-resolver v0.20.4
[INFO] [stderr]     Checking backtrace v0.3.76
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking color-eyre v0.6.5
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking gip v0.7.1
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking vpn-daemon v0.1.0 (/opt/rustwide/workdir/crates/vpn-daemon)
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]   --> crates/vpn-daemon/src/daemon/link.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |       let data = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 56 | |         "UPDATE servers
[INFO] [stdout] 57 | |                 SET active_peers = active_peers + 1
[INFO] [stdout] 58 | |                 WHERE id = ( SELECT id FROM servers 
[INFO] [stdout] ...  |
[INFO] [stdout] 63 | |         region
[INFO] [stdout] 64 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]   --> crates/vpn-daemon/src/daemon/link.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 74 | |         "INSERT INTO configs (uuid, tg_id, server_id, expires_at) VALUES (?,?,?,?)",
[INFO] [stdout] 75 | |         uuid,
[INFO] [stdout] 76 | |         tg_id,
[INFO] [stdout] 77 | |         data.id,
[INFO] [stdout] 78 | |         exp
[INFO] [stdout] 79 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]   --> crates/vpn-daemon/src/daemon/link.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     sqlx::query!("UPDATE users SET trial_used = 1 WHERE tg_id = ?", tg_id)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/link.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     sqlx::query!("DELETE FROM configs WHERE uuid = ?", uuid)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/link.rs:130:16
[INFO] [stdout]     |
[INFO] [stdout] 130 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 131 | |         "SELECT sub_expiry, trial_used FROM users WHERE tg_id = ?",
[INFO] [stdout] 132 | |         tg_id
[INFO] [stdout] 133 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/link.rs:166:5
[INFO] [stdout]     |
[INFO] [stdout] 166 | /     sqlx::query!(
[INFO] [stdout] 167 | |         "INSERT INTO servers (host, name, region, port, pbk, sid, sni, max_peers, is_active) VALUES (?,?,?,?,?,?,?,?,?)",
[INFO] [stdout] 168 | |         host,
[INFO] [stdout] 169 | |         name,
[INFO] [stdout] ...   |
[INFO] [stdout] 176 | |         1
[INFO] [stdout] 177 | |     ).execute(&mut *tx).await?;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/link.rs:186:19
[INFO] [stdout]     |
[INFO] [stdout] 186 | ... = sqlx::query_as!(PublicServerInformation, "SELECT id,name,region,active_peers,max_peers FROM servers WHERE is_active = 1 ORDER BY region ASC").fe...
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]   --> crates/vpn-daemon/src/daemon/link.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |       let data = sqlx::query!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 56 | |         "UPDATE servers
[INFO] [stdout] 57 | |                 SET active_peers = active_peers + 1
[INFO] [stdout] 58 | |                 WHERE id = ( SELECT id FROM servers 
[INFO] [stdout] ...  |
[INFO] [stdout] 63 | |         region
[INFO] [stdout] 64 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]   --> crates/vpn-daemon/src/daemon/link.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |       let _ = sqlx::query!(
[INFO] [stdout]    |  _____________^
[INFO] [stdout] 74 | |         "INSERT INTO configs (uuid, tg_id, server_id, expires_at) VALUES (?,?,?,?)",
[INFO] [stdout] 75 | |         uuid,
[INFO] [stdout] 76 | |         tg_id,
[INFO] [stdout] 77 | |         data.id,
[INFO] [stdout] 78 | |         exp
[INFO] [stdout] 79 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]   --> crates/vpn-daemon/src/daemon/link.rs:83:5
[INFO] [stdout]    |
[INFO] [stdout] 83 |     sqlx::query!("UPDATE users SET trial_used = 1 WHERE tg_id = ?", tg_id)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/link.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     sqlx::query!("DELETE FROM configs WHERE uuid = ?", uuid)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/link.rs:130:16
[INFO] [stdout]     |
[INFO] [stdout] 130 |       let user = sqlx::query!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 131 | |         "SELECT sub_expiry, trial_used FROM users WHERE tg_id = ?",
[INFO] [stdout] 132 | |         tg_id
[INFO] [stdout] 133 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/link.rs:166:5
[INFO] [stdout]     |
[INFO] [stdout] 166 | /     sqlx::query!(
[INFO] [stdout] 167 | |         "INSERT INTO servers (host, name, region, port, pbk, sid, sni, max_peers, is_active) VALUES (?,?,?,?,?,?,?,?,?)",
[INFO] [stdout] 168 | |         host,
[INFO] [stdout] 169 | |         name,
[INFO] [stdout] ...   |
[INFO] [stdout] 176 | |         1
[INFO] [stdout] 177 | |     ).execute(&mut *tx).await?;
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: (code: 14) unable to open database file
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/link.rs:186:19
[INFO] [stdout]     |
[INFO] [stdout] 186 | ... = sqlx::query_as!(PublicServerInformation, "SELECT id,name,region,active_peers,max_peers FROM servers WHERE is_active = 1 ORDER BY region ASC").fe...
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SignalKind` and `Signal`
[INFO] [stdout]  --> crates/vpn-daemon/src/daemon/runtime.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::signal::unix::{Signal, SignalKind};
[INFO] [stdout]   |                           ^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TunInterface` and `create_interface`
[INFO] [stdout]  --> crates/vpn-daemon/src/tests/tun_read.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::linux::tun::{TunInterface, create_interface};
[INFO] [stdout]   |                         ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> crates/vpn-daemon/src/tests/tun_read.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `sleep` and `timeout`
[INFO] [stdout]  --> crates/vpn-daemon/src/tests/tun_read.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::time::{sleep, timeout};
[INFO] [stdout]   |                   ^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TunInterface` and `create_interface`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/frame.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::linux::tun::{TunInterface, create_interface};
[INFO] [stdout]   |                         ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ClientNetworkConfig`, `RouteConfig`, and `TransportConfig`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/server.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     ClientNetworkConfig, RouteConfig, ServerNetworkConfig, TransportConfig,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^                       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TunFd` and `create_interface`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/server.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::linux::tun::{TunFd, TunInterface, create_interface};
[INFO] [stdout]   |                         ^^^^^                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DecodeError` and `DecodedFrame`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/server.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::transport::frame::{DecodeError, DecodedFrame, FrameKind, decode_frame, encode_frame};
[INFO] [stdout]   |                               ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hkdf::Hkdf`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/server.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hkdf::Hkdf;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Sha256`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sha2::Sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ErrorLevel`
[INFO] [stdout]   --> crates/vpn-daemon/src/transport/server.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |     error::{ErrorLevel, VpnError},
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EphemeralSecret` and `PublicKey`
[INFO] [stdout]   --> crates/vpn-daemon/src/transport/server.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 | use x25519_dalek::{EphemeralSecret, PublicKey};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]   --> crates/vpn-daemon/src/transport/server.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | use tokio::io::{AsyncRead, AsyncWrite};
[INFO] [stdout]    |                 ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `peers_table` should have an upper camel case name
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:282:12
[INFO] [stdout]     |
[INFO] [stdout] 282 | pub struct peers_table {
[INFO] [stdout]     |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `PeersTable`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Key`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:484:18
[INFO] [stdout]     |
[INFO] [stdout] 484 | use aead::{Aead, Key, KeyInit};
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/singbox.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `client::TlsStream`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/transport.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_rustls::{TlsConnector, client::TlsStream};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]   --> crates/vpn-daemon/src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use anyhow::Result;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SignalKind` and `Signal`
[INFO] [stdout]  --> crates/vpn-daemon/src/daemon/runtime.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tokio::signal::unix::{Signal, SignalKind};
[INFO] [stdout]   |                           ^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TunInterface` and `create_interface`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/frame.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::linux::tun::{TunInterface, create_interface};
[INFO] [stdout]   |                         ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ClientNetworkConfig`, `RouteConfig`, and `TransportConfig`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/server.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     ClientNetworkConfig, RouteConfig, ServerNetworkConfig, TransportConfig,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^                       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TunFd` and `create_interface`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/server.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::linux::tun::{TunFd, TunInterface, create_interface};
[INFO] [stdout]   |                         ^^^^^                ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DecodeError` and `DecodedFrame`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/server.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::transport::frame::{DecodeError, DecodedFrame, FrameKind, decode_frame, encode_frame};
[INFO] [stdout]   |                               ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hkdf::Hkdf`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/server.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hkdf::Hkdf;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Sha256`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sha2::Sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ErrorLevel`
[INFO] [stdout]   --> crates/vpn-daemon/src/transport/server.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |     error::{ErrorLevel, VpnError},
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EphemeralSecret` and `PublicKey`
[INFO] [stdout]   --> crates/vpn-daemon/src/transport/server.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 | use x25519_dalek::{EphemeralSecret, PublicKey};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]   --> crates/vpn-daemon/src/transport/server.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | use tokio::io::{AsyncRead, AsyncWrite};
[INFO] [stdout]    |                 ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `peers_table` should have an upper camel case name
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:282:12
[INFO] [stdout]     |
[INFO] [stdout] 282 | pub struct peers_table {
[INFO] [stdout]     |            ^^^^^^^^^^^ help: convert the identifier to upper camel case: `PeersTable`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Key`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:484:18
[INFO] [stdout]     |
[INFO] [stdout] 484 | use aead::{Aead, Key, KeyInit};
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/singbox.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `client::TlsStream`
[INFO] [stdout]  --> crates/vpn-daemon/src/transport/transport.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tokio_rustls::{TlsConnector, client::TlsStream};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]   --> crates/vpn-daemon/src/lib.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use anyhow::Result;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:466:9
[INFO] [stdout]     |
[INFO] [stdout] 466 |     let mut frame = encode_frame(kind, session_id, &mut payload);
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:466:9
[INFO] [stdout]     |
[INFO] [stdout] 466 |     let mut frame = encode_frame(kind, session_id, &mut payload);
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:659:5
[INFO] [stdout]     |
[INFO] [stdout] 659 |     mut peers: Arc<TokioMutex<peers_table>>,
[INFO] [stdout]     |     ----^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:659:5
[INFO] [stdout]     |
[INFO] [stdout] 659 |     mut peers: Arc<TokioMutex<peers_table>>,
[INFO] [stdout]     |     ----^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:925:21
[INFO] [stdout]     |
[INFO] [stdout] 917 |                     Ok(len) => match len{
[INFO] [stdout]     |                     ------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 925 |                     Ok(0) => {
[INFO] [stdout]     |                     ^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:925:21
[INFO] [stdout]     |
[INFO] [stdout] 917 |                     Ok(len) => match len{
[INFO] [stdout]     |                     ------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 925 |                     Ok(0) => {
[INFO] [stdout]     |                     ^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plan`
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/runtime.rs:109:24
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub async fn start(plan: RuntimePlan) -> anyhow::Result<(RuntimeHandle, RuntimeTask)> {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_plan`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tun_to_transport_tx`
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/runtime.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let (tun_to_transport_tx, tun_to_transport_rx) = tokio::sync::mpsc::channel::<Packet>(256);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tun_to_transport_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tun_to_transport_rx`
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/runtime.rs:111:35
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let (tun_to_transport_tx, tun_to_transport_rx) = tokio::sync::mpsc::channel::<Packet>(256);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tun_to_transport_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plan`
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/runtime.rs:109:24
[INFO] [stdout]     |
[INFO] [stdout] 109 |     pub async fn start(plan: RuntimePlan) -> anyhow::Result<(RuntimeHandle, RuntimeTask)> {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_plan`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tun_to_transport_tx`
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/runtime.rs:111:14
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let (tun_to_transport_tx, tun_to_transport_rx) = tokio::sync::mpsc::channel::<Packet>(256);
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tun_to_transport_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tun_to_transport_rx`
[INFO] [stdout]    --> crates/vpn-daemon/src/daemon/runtime.rs:111:35
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let (tun_to_transport_tx, tun_to_transport_rx) = tokio::sync::mpsc::channel::<Packet>(256);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tun_to_transport_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 |     let ip = state
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peers`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:377:5
[INFO] [stdout]     |
[INFO] [stdout] 377 |     peers: Arc<TokioMutex<peers_table>>,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_peers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:413:9
[INFO] [stdout]     |
[INFO] [stdout] 413 |     let ip = state
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:357:9
[INFO] [stdout]     |
[INFO] [stdout] 357 |     let ip = state
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peers`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:377:5
[INFO] [stdout]     |
[INFO] [stdout] 377 |     peers: Arc<TokioMutex<peers_table>>,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_peers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ip`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:413:9
[INFO] [stdout]     |
[INFO] [stdout] 413 |     let ip = state
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_ip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peers`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:659:5
[INFO] [stdout]     |
[INFO] [stdout] 659 |     mut peers: Arc<TokioMutex<peers_table>>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `allocator`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:660:5
[INFO] [stdout]     |
[INFO] [stdout] 660 |     allocator: Arc<tokio::sync::Mutex<IpAllocator>>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `peers`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:659:5
[INFO] [stdout]     |
[INFO] [stdout] 659 |     mut peers: Arc<TokioMutex<peers_table>>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `allocator`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/server.rs:660:5
[INFO] [stdout]     |
[INFO] [stdout] 660 |     allocator: Arc<tokio::sync::Mutex<IpAllocator>>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/singbox.rs:186:13
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let config = SingBoxConfig {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> crates/vpn-daemon/src/transport/singbox.rs:186:13
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let config = SingBoxConfig {
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vpn-daemon` (lib) due to 7 previous errors; 30 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `vpn-daemon` (lib test) due to 7 previous errors; 27 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4511473a05d63515f7a31d5fab79d1947259d08f2e22641b8e0f776027b6ba96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4511473a05d63515f7a31d5fab79d1947259d08f2e22641b8e0f776027b6ba96", kill_on_drop: false }`
[INFO] [stdout] 4511473a05d63515f7a31d5fab79d1947259d08f2e22641b8e0f776027b6ba96
